package org.lagou.bean;

@SuppressWarnings("all")
public class ReponseBody {
		//返回值的状态码 0:失败 1:成功
		private int status=1;
		//服务器处理的信息
		private String msg;
		//返回数量
		//返回给客户端的数据
		private Object data;
		public int getStatus() {
			return status;
		}
		public void setStatus(int status) {
			this.status = status;
		}
		public String getMsg() {
			return msg;
		}
		public void setMsg(String msg) {
			this.msg = msg;
		}
		public Object getData() {
			return data;
		}
		public void setData(Object data) {
			this.data = data;
		}
		@Override
		public String toString() {
			return "ReponseBody [status=" + status + ", msg=" + msg + ", data=" + data + "]";
		}
		
		public ReponseBody(int status, String msg, Object data) {
			super();
			this.status = status;
			this.msg = msg;
			this.data = data;
		}
		public ReponseBody(String msg, Object data) {
			super();
			this.msg = msg;
			this.data = data;
		}
		public ReponseBody(Object data) {
			super();
			this.data = data;
		}
		public ReponseBody() {
			super();
		}
		
}
